<?php

namespace App\Http\Controllers\Admin;

use App\Models\Admin;
use App\Models\Menu;

/**
 * 后台首页控制器
 */
class IndexController extends BaseController
{

    public function __construct(Admin $admin, Menu $menu)
    {
        parent::__construct();
        $this->admin = $admin;
        $this->menu = $menu;
    }

    public function getIndex()
    {
        return view('admin.main');
    }

    public function getTest()
    {
        return 1;
    }

}
